<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.ViewMarchamoTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputText value="#{bundle.ViewMarchamoLabel_idMarchamo}"/>
                    <h:outputText value="#{marchamoController.selected.idMarchamo}" title="#{bundle.ViewMarchamoTitle_idMarchamo}"/>
                    <h:outputText value="#{bundle.ViewMarchamoLabel_cedula}"/>
                    <h:outputText value="#{marchamoController.selected.cedula}" title="#{bundle.ViewMarchamoTitle_cedula}"/>
                    <h:outputText value="#{bundle.ViewMarchamoLabel_nombre1}"/>
                    <h:outputText value="#{marchamoController.selected.nombre1}" title="#{bundle.ViewMarchamoTitle_nombre1}"/>
                    <h:outputText value="#{bundle.ViewMarchamoLabel_nombre2}"/>
                    <h:outputText value="#{marchamoController.selected.nombre2}" title="#{bundle.ViewMarchamoTitle_nombre2}"/>
                    <h:outputText value="#{bundle.ViewMarchamoLabel_apellido1}"/>
                    <h:outputText value="#{marchamoController.selected.apellido1}" title="#{bundle.ViewMarchamoTitle_apellido1}"/>
                    <h:outputText value="#{bundle.ViewMarchamoLabel_apellido2}"/>
                    <h:outputText value="#{marchamoController.selected.apellido2}" title="#{bundle.ViewMarchamoTitle_apellido2}"/>
                    <h:outputText value="#{bundle.ViewMarchamoLabel_estadoCivil}"/>
                    <h:outputText value="#{marchamoController.selected.estadoCivil}" title="#{bundle.ViewMarchamoTitle_estadoCivil}"/>
                    <h:outputText value="#{bundle.ViewMarchamoLabel_telefono1}"/>
                    <h:outputText value="#{marchamoController.selected.telefono1}" title="#{bundle.ViewMarchamoTitle_telefono1}"/>
                    <h:outputText value="#{bundle.ViewMarchamoLabel_telefono2}"/>
                    <h:outputText value="#{marchamoController.selected.telefono2}" title="#{bundle.ViewMarchamoTitle_telefono2}"/>
                    <h:outputText value="#{bundle.ViewMarchamoLabel_email}"/>
                    <h:outputText value="#{marchamoController.selected.email}" title="#{bundle.ViewMarchamoTitle_email}"/>
                    <h:outputText value="#{bundle.ViewMarchamoLabel_lugarDeTrabajo}"/>
                    <h:outputText value="#{marchamoController.selected.lugarDeTrabajo}" title="#{bundle.ViewMarchamoTitle_lugarDeTrabajo}"/>
                    <h:outputText value="#{bundle.ViewMarchamoLabel_placaVehiculo}"/>
                    <h:outputText value="#{marchamoController.selected.placaVehiculo}" title="#{bundle.ViewMarchamoTitle_placaVehiculo}"/>
                    <h:outputText value="#{bundle.ViewMarchamoLabel_marcaVehiculo}"/>
                    <h:outputText value="#{marchamoController.selected.marcaVehiculo}" title="#{bundle.ViewMarchamoTitle_marcaVehiculo}"/>
                    <h:outputText value="#{bundle.ViewMarchamoLabel_modeloVehiculo}"/>
                    <h:outputText value="#{marchamoController.selected.modeloVehiculo}" title="#{bundle.ViewMarchamoTitle_modeloVehiculo}"/>
                    <h:outputText value="#{bundle.ViewMarchamoLabel_anioVehiculo}"/>
                    <h:outputText value="#{marchamoController.selected.anioVehiculo}" title="#{bundle.ViewMarchamoTitle_anioVehiculo}"/>
                    <h:outputText value="#{bundle.ViewMarchamoLabel_colorVehiculo}"/>
                    <h:outputText value="#{marchamoController.selected.colorVehiculo}" title="#{bundle.ViewMarchamoTitle_colorVehiculo}"/>
                </h:panelGrid>
                <br />
                <h:commandLink action="#{marchamoController.destroyAndView}" value="#{bundle.ViewMarchamoDestroyLink}"/>
                <br />
                <br />
                <h:commandLink action="Edit" value="#{bundle.ViewMarchamoEditLink}"/>
                <br />
                <h:commandLink action="#{marchamoController.prepareCreate}" value="#{bundle.ViewMarchamoCreateLink}" />
                <br />
                <h:commandLink action="#{marchamoController.prepareList}" value="#{bundle.ViewMarchamoShowAllLink}"/>
                <br />
                <br />
                <h:commandLink value="#{bundle.ViewMarchamoIndexLink}" action="/index" immediate="true" />

            </h:form>
        </ui:define>
    </ui:composition>

</html>
